package com.easygo.api;

import com.xuexi.easygo.pojo.ItemCat;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("easygo-itemcat-service")
public interface ItemCatClient {

    @RequestMapping("itemcat_all")
    List<ItemCat> getItemCats();
}
